#!/usr/bin/env python
# coding=UTF-8

#数据库配置
DB_HOST = '39.108.83.130'
DB_PORT = 3306
DB_USER = 'root'
DB_PWD = 'qazwsxplm'
#DB_NAME = 'GAME_DB'
DB_NAME = 'GAME_DB'

#redis配置
REDIS_HOST = '39.108.83.130'
REDIS_PORT = 6399
REDIS_DB = 0
REDIS_PWD = ''

UPLOAD_ADDR = "http://api.qzdsoft.com"

#nsq消息队列地址
NSQ_ADDR = '39.108.83.130:4150'
NSQ_HTTP = '39.108.83.130:4151'

GAME_TYPE_NAME = {"zzmj":u"转转麻将",
                  "gdmj":u"广东麻将推倒胡",
                  "tdh":u"广东麻将推倒胡",
                  "hzmj":u"红中麻将",
                  'pdk':u"跑得快",
                  'ldfpf':u"娄底放炮罚",
                  'ddz':u"斗地主",
                  'nxhsmj':u"宁夏划水麻将",
                  'symj':u"邵阳麻将",
                  'fzmj':u"福州麻将",
                  'xmmj':u"厦门麻将",
                  'dn':u"斗牛",
                  'ttz':u"推筒子",
                  'sg':u"三公",
                  'gz':u"过炸",
                  'gdy':u"干瞪眼",
                  'pcd':u"万安拼刺刀",
                  'ygmj':u"余干麻将",
		}

WAP = "http://app.qzdsoft.com"
guest_login = 'y'

DEFAULT_PID = 1
